package com.egao.common.module.company.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 用人单位(Company)表实体类
 * @author dl
 */
@Data
@ApiModel(description = "用人单位")
@TableName("company")
public class Company implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("用户ID")
    private Integer userId;

    @ApiModelProperty("单位名称")
    private String name;

    @ApiModelProperty("社会统一信用代码 9或18位")
    private String organizationCode;

    @ApiModelProperty("营业执照上传照片")
    private String businessUrl;

    @ApiModelProperty("法人图片")
    private String legalPersons;

    @ApiModelProperty("单位性质")
    private String nature;

    @ApiModelProperty("单位行业")
    private String industry;

    @ApiModelProperty("单位规模")
    private String scale;

    @ApiModelProperty("单位区县级地区")
    private String syszd;

    @ApiModelProperty("单位区县级地区级别")
    private String companyLevel;

    @ApiModelProperty("所在省份")
    private String province;

    @ApiModelProperty("所在城市")
    private String city;

    @ApiModelProperty("湖北重点产业")
    private String hbIndustry;

    @ApiModelProperty("是否校友单位  0是 1否")
    private String alumniState;

    @ApiModelProperty("联系人")
    private String contactName;

    @ApiModelProperty("联系电话")
    private String contactMobile;

    @ApiModelProperty("联系人手机号码")
    private String mobile;

    @ApiModelProperty("邮政编码")
    private String zipCode;

    @ApiModelProperty("网址")
    private String website;

    @ApiModelProperty("简介")
    private String content;

    @ApiModelProperty("单位详细地址")
    private String address;

    @ApiModelProperty("单位审核状态 0待审核 1通过 2不通过 3锁定")
    private String state;

    @ApiModelProperty("审核说明")
    private String stateContent;

    @ApiModelProperty("是否发送邮件 0 发送 1 不发送")
    private String emailFlag;

    @ApiModelProperty("单篇状态 0 是 1 否")
    private String recruitFlag;

    @ApiModelProperty("添加时间")
    private Date createTime;

    @ApiModelProperty("编辑时间")
    private Date updateTime;

    @ApiModelProperty("逻辑删除 0正常 1删除")
    @TableLogic
    private Integer deleted;

    @ApiModelProperty("用户名")
    @TableField(exist = false)
    private String userName;

    @ApiModelProperty("用户密码")
    @TableField(exist = false)
    private String password;

    @ApiModelProperty("原始编号id")
    private String oldId;

    @ApiModelProperty("产教融合单位 0是 1否")
    private String cooperative;

    @ApiModelProperty("联系电话")
    @TableField(exist = false)
    private String contactEmail;

    @ApiModelProperty("营业执照上传照片 预览")
    @TableField(exist = false)
    private String businessUrlPreview;

    @ApiModelProperty("法人图片 预览")
    @TableField(exist = false)
    private String legalPersonsPreview;
}